import { Body, Controller, Get } from "@nestjs/common";
import { RankService } from "../service/rank/rank.service";

@Controller("/rank")
export class RankController {
  constructor(private rankService: RankService) {
  }

  @Get("getRankList")
  async getRanks(@Body() body) {
    return await this.rankService.ranksSendService();
  }
}